.PHONY:mq_server
CFLAG=-I../mqthird/include
LFLAG=-L../mqthird/lib -lgtest -lprotobuf -lsqlite3 -pthread -lmuduo_net -lmuduo_base -lz
mq_server:mq_server.cc ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc ../mqthird/include/muduo/proto/codec.cc
	g++ -g -o $@ $^ -std=c++14 $(CFLAG) $(LFLAG)

clean:
	rm -rf mq_server